﻿namespace ZKTEcoPush.Models
{
    public class CmdRecord
    {
        public string CmdID { get; set; } = string.Empty;

        //{CmdDesc}为"DATA"时，就认为该命令为数据命令
        public string CmdDesc { get; set; } = string.Empty;
        public string CmdContent { get; set; } = string.Empty;

        public override string ToString()
        {
            return $"C:{CmdID}:{CmdDesc} {CmdContent}";
        }
    }
}
